package com.lanou3g.ptp.wx.service;

import com.lanou3g.ptp.vo.TemplateData;

import java.util.Map;

public interface WxService {
    String getOpenId(String code);

    void storeCode(String openId, String code);

    int checkCodeNum(String openId);

    boolean sendMessage(String openId, int type, Map<String, TemplateData> data);
}
